Fix indentation/fontification of Java enum with "implements"/generic.
authorAlan Mackenzie <acm@muc.de>
Sun, 13 Oct 2013 19:54:46 +0000 (19:54 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 13 Oct 2013 19:54:46 +0000 (19:54 +0000)
commit953e97ce4121d2f7c64cca1dbbc1c4f8d9300f0c
treef3cf3fce824ccc089b41f305106164df640868a5
parent11d395c44b7cfa899f4855294807f09973de7d9c
Fix indentation/fontification of Java enum with "implements"/generic.

* progmodes/cc-engine.el (c-backward-over-enum-header): Extracted from
the three other places and enhanced to handle generics.
(c-inside-bracelist-p): Uses new function above.
* progmodes/cc-fonts.el (c-font-lock-declarations): Uses new function
above.
(c-font-lock-enum-tail): Uses new function above.
lisp/ChangeLog
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el